package com.msmall.base.model;

/**
 * 用于一些操作的返回结果
 * @author Administrator
 *
 */
public class OperationResult {
	
	public static final int CODE_SUCCESS = 0;
	
	public static final int CODE_FAIL = -999;
	
	public static final String DESC_SUCCESS = "success";
	
	public static final String DESC_FAIL = "fail";
	
	private int code;

	private String desc;
	
	private Object obj;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

}
